package com.beiben.system.hours.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户关联工时对象 sys_user_hours
 * 
 * @author xgq
 * @date 2020-08-25
 */
public class UserHours extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long userId;

    /** 工时ID */
    private Long hoursId;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setHoursId(Long hoursId) 
    {
        this.hoursId = hoursId;
    }

    public Long getHoursId() 
    {
        return hoursId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("hoursId", getHoursId())
            .toString();
    }
}
